An Approach to Slicing Widget-Based Event-Driven Programs and Its Implementation
نویسندگان
چکیده
In program slicing, widget-based event-driven programs are different from conventional programs because of their particular features of object construction infrastructure and event-driven mechanism and asynchronous access of global variables. Therefore conventional slicing techniques cannot be applied to widget-based event-driven programs. To solve this problem, this paper first introduces a set of representing schemes including an object construction tree, an object dependence table, a global variable dependence table and an event-driven program dependence graph, then defines a WbEd slicing criterion through combining three kinds of slicing criteria: instruction criterion, event-loop criterion and obj-attr criterion. And a slicing method is developed based on these slicing criteria. Eventually a widgetbased event-driven program slicer wbedSlicer is illustrated to verify the efficiency and correctness of the slicing approach. key words: control dependence, data dependence, widget-based event-driven program, program dependence graph
منابع مشابه
Program Slicing and Middle-Out Reasoning for Error Location and Repair
This paper describes a proof-based approach to the location and repair of errors in functional programs. The approach is based on the use of program slicing to locate errors and middle-out reasoning to repair them. An implementation in the λClam proof planning system is described with some preliminary results.
متن کاملFactors Influencing Branding of Sports-Based TV Programs in Iran
Television is one of the most important elements of the global communications industry. This super-media, which consists of various channels and programs, has severely affected the lifestyle of most people. The purpose of this study was to identify factors affecting branding of sports-based television programs in Iran. In this correlational study, which was conducted in an applied method with ...
متن کاملCompiler Support for Real-Time Programs
We present a compiler-based approach to automatically assist in constructing real-time systems. In this approach, source programs are written in TCEL (or Time Constrained Event Language) which possesses high-level timing constructs , and whose semantics characterizes time-constrained relationships between observable events. A TCEL program infers only those timing constraints necessary to achiev...
متن کاملTechnology driven strategy model in Research and Technology Organization
The purpose of this study was to provide a technology driven strategy model with an interpretive structure approach in the Petrochemical Research and Technology Company. The present study is descriptive, survey in terms of the nature of the research and applied in terms of purpose. By reviewing the research literature and expert opinion polls, 10 effective factors were identified along with the...
متن کاملAbstract Program Slicing: From Theory towards an Implementation
Program Slicing: From Theory towards an Implementation Isabella Mastroeni and Ðurica Nikolić Dipartimento di Informatica, Università di Verona, Italy [email protected], [email protected] Abstract. In this paper we extend the formal framework proposed by Binkley et al. for representing and comparing forms of program slicing. This framework describes many well-known forms of slic...
متن کامل